<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
<title>小小海盗博客</title>
<!--博客首页-->
</head>
<body>
	<h1 th:text="${END}">a</h1>
	
	<a th:href="@{/weblog/index}">首页</a>

	<span shiro:authenticated="true"> 
		<span th:text="${username}"></span>
	</span>

	<shiro:guest>
		<a th:href="@{/user/login}">登录</a>
	</shiro:guest>

	<span shiro:authenticated="true"> 
		<a th:href="@{/user/logout}">退出</a>
	</span>
	
	<shiro:guest>
		<a th:href="@{/user/register}">注册</a>
	</shiro:guest>

	<!-- 文章分类 -->
	<!-- 广告 -->
	<!-- 广告 -->
	<!-- 文章类型9个 -->
</body>
</html>